<html>
<head><meta charset="utf-8"><title>x.py prints diffs on error now? · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html">x.py prints diffs on error now?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="185542402"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185542402" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185542402">(Jan 13 2020 at 21:59)</a>:</h4>
<p>Hey, did "we" change things recently to print the diff against master when <code>x.py</code> fails? (or at least when <code>x.py tidy</code> fails?)</p>



<a name="185542487"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185542487" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185542487">(Jan 13 2020 at 22:00)</a>:</h4>
<p>(or maybe this is somehow an artifact of <code>git submodule update</code> call... /me is so confused about the current output...)_</p>



<a name="185542506"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185542506" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185542506">(Jan 13 2020 at 22:00)</a>:</h4>
<p><span class="user-mention" data-user-id="116083">@pnkfelix</span> maybe formatting diff?</p>



<a name="185542534"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185542534" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185542534">(Jan 13 2020 at 22:00)</a>:</h4>
<p>x.py tidy runs x.py fmt --check internally</p>



<a name="185542558"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185542558" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185542558">(Jan 13 2020 at 22:01)</a>:</h4>
<p>(if you paste the output I can maybe help more :)</p>



<a name="185542591"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185542591" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185542591">(Jan 13 2020 at 22:01)</a>:</h4>
<p>its definitely tidy</p>



<a name="185542670"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185542670" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185542670">(Jan 13 2020 at 22:02)</a>:</h4>
<p><a href="https://gist.github.com/84be405c649c26a26dda0e7126f37f96" target="_blank" title="https://gist.github.com/84be405c649c26a26dda0e7126f37f96">https://gist.github.com/84be405c649c26a26dda0e7126f37f96</a></p>



<a name="185542697"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185542697" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185542697">(Jan 13 2020 at 22:02)</a>:</h4>
<p>oh!</p>



<a name="185542704"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185542704" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185542704">(Jan 13 2020 at 22:02)</a>:</h4>
<p>its running rustfmt, of course</p>



<a name="185542730"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185542730" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185542730">(Jan 13 2020 at 22:03)</a>:</h4>
<p>(and it doesn't like my particular line break choices)</p>



<a name="185542764"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185542764" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185542764">(Jan 13 2020 at 22:03)</a>:</h4>
<p>((right?))</p>



<a name="185542777"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185542777" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185542777">(Jan 13 2020 at 22:03)</a>:</h4>
<p>seems like it</p>



<a name="185542854"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185542854" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185542854">(Jan 13 2020 at 22:04)</a>:</h4>
<p>I think we may eventually move format check out, just because it can be annoying (though I personally don't run tidy locally either)</p>



<a name="185542939"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185542939" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185542939">(Jan 13 2020 at 22:05)</a>:</h4>
<p>I wouldn't mind it so much if the output were compatible with my regexps for emacs compilation-mode</p>



<a name="185542959"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185542959" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185542959">(Jan 13 2020 at 22:05)</a>:</h4>
<p>Or wait, maybe they are compatible, heh</p>



<a name="185542965"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185542965" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185542965">(Jan 13 2020 at 22:05)</a>:</h4>
<p>/me hadn't even tried to follow the link yet</p>



<a name="185542971"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185542971" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185542971">(Jan 13 2020 at 22:05)</a>:</h4>
<p>too confused to try the obvious thing</p>



<a name="185543023"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185543023" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185543023">(Jan 13 2020 at 22:06)</a>:</h4>
<p>no, wait, I was right the first time</p>



<a name="185543055"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185543055" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185543055">(Jan 13 2020 at 22:06)</a>:</h4>
<p>But I can probably add an appropriate regexp to rust-mode.el</p>



<a name="185543091"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185543091" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185543091">(Jan 13 2020 at 22:07)</a>:</h4>
<p>perhaps :)</p>



<a name="185543110"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185543110" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185543110">(Jan 13 2020 at 22:07)</a>:</h4>
<p>rustfmt should probably use rustc style errors</p>



<a name="185543121"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185543121" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185543121">(Jan 13 2020 at 22:07)</a>:</h4>
<p>odd that it forces a line break on that `println! call... is this the thing that Ralf has been complaining about?</p>



<a name="185543132"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185543132" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185543132">(Jan 13 2020 at 22:07)</a>:</h4>
<p>the lines fit in 100 characters...</p>



<a name="185543140"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185543140" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185543140">(Jan 13 2020 at 22:07)</a>:</h4>
<p>(...barely)</p>



<a name="185543269"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185543269" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185543269">(Jan 13 2020 at 22:09)</a>:</h4>
<p>yeah for some reason rustfmt seems very eager to insert a linebreak after the <code>macro!(</code></p>



<a name="185543303"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185543303" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185543303">(Jan 13 2020 at 22:09)</a>:</h4>
<p>rather than allowing for</p>
<div class="codehilite"><pre><span></span><span class="kr">macro</span><span class="o">!</span><span class="p">(</span><span class="n">ARG1</span><span class="p">,</span><span class="w"></span>
<span class="w">       </span><span class="n">ARG2</span><span class="p">,</span><span class="w"></span>
<span class="w">       </span><span class="n">ARG3</span><span class="p">)</span><span class="w"></span>
</pre></div>



<a name="185543371"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185543371" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185543371">(Jan 13 2020 at 22:10)</a>:</h4>
<p>/me will have to go look up corresponding debates on rustfmt style stuff</p>



<a name="185543399"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185543399" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185543399">(Jan 13 2020 at 22:10)</a>:</h4>
<p>well, if it is going to wrap, then it's going to force a linebreak</p>



<a name="185543418"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185543418" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185543418">(Jan 13 2020 at 22:10)</a>:</h4>
<p>since the function call style is</p>
<div class="codehilite"><pre><span></span>foo(
    arg1,
    arg2,
    ...
);
</pre></div>



<a name="185543425"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185543425" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185543425">(Jan 13 2020 at 22:10)</a>:</h4>
<p>(when multi-line)</p>



<a name="185543448"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185543448" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185543448">(Jan 13 2020 at 22:11)</a>:</h4>
<p>notably println! is "known" to rustfmt</p>



<a name="185543468"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185543468" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185543468">(Jan 13 2020 at 22:11)</a>:</h4>
<p>not </p>
<div class="codehilite"><pre><span></span><span class="n">foo</span><span class="p">(</span><span class="n">arg1</span><span class="p">,</span><span class="w"></span>
<span class="w">    </span><span class="n">arg2</span><span class="p">,</span><span class="w"></span>
<span class="w">    </span><span class="n">arg3</span><span class="w"></span>
<span class="p">);</span><span class="w"></span>
</pre></div>


<p>?</p>



<a name="185543473"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185543473" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185543473">(Jan 13 2020 at 22:11)</a>:</h4>
<p>I don't think so, no</p>



<a name="185543481"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185543481" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185543481">(Jan 13 2020 at 22:11)</a>:</h4>
<p>or at least the style I suggest is consistent with function declarations</p>



<a name="185543487"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185543487" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185543487">(Jan 13 2020 at 22:11)</a>:</h4>
<p>hmm. Okay, not my cup of tea, but whatever</p>



<a name="185543552"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185543552" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185543552">(Jan 13 2020 at 22:12)</a>:</h4>
<p>yeah I know that function declarations often appear with a line break before the first formal parameter</p>



<a name="185543642"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185543642" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185543642">(Jan 13 2020 at 22:12)</a>:</h4>
<p>so  i guess this follows from that</p>



<a name="185543644"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/x.py%20prints%20diffs%20on%20error%20now%3F/near/185543644" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/x.2Epy.20prints.20diffs.20on.20error.20now.3F.html#185543644">(Jan 13 2020 at 22:12)</a>:</h4>
<p><a href="https://github.com/rust-dev-tools/fmt-rfcs/blob/master/guide/expressions.md#multi-line-calls" target="_blank" title="https://github.com/rust-dev-tools/fmt-rfcs/blob/master/guide/expressions.md#multi-line-calls">https://github.com/rust-dev-tools/fmt-rfcs/blob/master/guide/expressions.md#multi-line-calls</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>